package com.garden.rocketmq.learn.samples.message;

/**
 * 订单消息
 * Created by Garden on 2021-01-20 14:51
 */
public class Order {

    /**
     * 订单id
     */
    private long id;
    /**
     * 订单描述，代表顺序
     */
    private String desc;

    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", desc='" + desc + '\'' +
                '}';
    }

}
